Skip to main content

Installation

Installation

  • Download the resource from your Keymaster.
  • Unpack the resource n_easysit into your desired resources location.
  • Insert Ace Permission. Select one, steam or license not both.. depends on your server configuration
  • Group binding
  • Bind to your desired group as minimum group grade, eg: mod.. mod, admin, super admin will have the ace perms.
    add_ace group.admin n_easysit allow
  • Execute SQL file
  • SQL File: n_easysit/n_chairs.sql
    DROP TABLE IF EXISTS `n_easysit`;
    CREATE TABLE `n_easysit` (
    `id` int NOT NULL AUTO_INCREMENT,
    `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
    PRIMARY KEY (`id`) USING BTREE
    ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = DYNAMIC;

    SET FOREIGN_KEY_CHECKS = 1;
  • Start the resource on your server.cfg file.
  • server.cfg
    ensure n_easysit

    Command And Notification

  • Open the configurable file n_easysit/config.lua and follow our instructions bellow.
    • Command
      • The name you have to set for example right is /~nchairs , to enable the Creator
    • Notify(msg, typ)
      • The notification function for our system.
      • msg, the message we pass into the function.
      • typ, the type we pass into the function success, warning, error.
      • By default we use txAdmin notification system TriggerEvent('txAdmin:receiveDirectMessage', msg, "N - Easy Sit"), You can change this event into your desired notification system.

    Discord Webhook Logs

  • Open the configurable file and setup the Discord Bot Logs
  • n_easysit/server/logger.lua
    Discord = {
    botName = 'My Awesome Bot Name',
    name = "My Awesome Bot Name",
    avatar = "https://cdn.discordapp.com/attachments/XXXXXXXXXXXXX/XXXXXXXXXXXXXX/XXXXXXXXXXXXX.png",
    hook = "https://discord.com/api/webhooks/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXX"
    }

    Social Media

    Youtube Discord 'Discord') Tebex Store CFX